function fEvent(sType,oInput){
	switch (sType){
		case "focus" :
			oInput.isfocus = true;
		case "mouseover" :
			oInput.style.borderColor = '#9ecc00';
			break;
		case "blur" :
			oInput.isfocus = false;
		case "mouseout" :
			if(!oInput.isfocus){
				oInput.style.borderColor='#ccc';
			}
			break;
	}
}

function datepopup(test){
  var xx=event.clientX;
  var yy=event.clientY;
  test.value=window.showModalDialog("/jsp/selectDate.htm","","dialogWidth:350px;dialogHeight:180px;dialogLeft:"+xx+"px;dialogTop:"+yy+"px;status:0;");
}
//实现翻页的跳转
function selectPage(page_num){
   document.forms[0].selectNum.value=page_num;
   document.forms[0].submit();
 }